package com.atguigu.mp.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
@Builder
public class User {
    @TableId(type=IdType.ASSIGN_ID)
    private Long id ;
    @TableField("name")
    private String name ;
    @TableField("age")
    private Integer age ;
    @TableField("email")
    private String email ;
    //@TableLogic
    private Integer deleted ;
}
